golang.org/x/net/http2.dataBuffer.expected (field)
6 uses
golang.org/x/net/http2 (current package)
databuffer.go#L70: expected int64 // we expect at least this many bytes in future Write calls (ignored if <= 0)
databuffer.go#L122: if b.expected > want {
databuffer.go#L123: want = b.expected
databuffer.go#L130: b.expected -= int64(n)
server.go#L2187: b: &dataBuffer{expected: req.ContentLength},
transport.go#L2452: cs.bufPipe.setBuffer(&dataBuffer{expected: res.ContentLength})
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)